#!/usr/bin/env python
# -*- encoding:utf-8 -*-

import	os
import	sys

libpath = '..%s..%slib' % (os.sep, os.sep)
sys.path.append(libpath)

import	zxkad.help.logging as logging

import  embedlog

logger = logging.getLogger()
logger.error("ERROR MESSAGE")
logger.warn ("WARN  MESSAGE")
logger.info ("INFO  MESSAGE")
logger.debug("DEBUG MESSAGE")

embedlog.afunc()
embedlog.bfunc()

logger.setLogLevel(logging.LOG_LEVEL_DEBUG)
logger.error("ERROR log MESSAGE")
logger.warn ("WARN  log MESSAGE")
logger.info ("INFO  log MESSAGE")
logger.debug("DEBUG log MESSAGE")

embedlog.afunc()
embedlog.bfunc()

